package com.xbongbong.paas.pojo.workflow.nodes.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 吴峰
 * @date 2021/05/12 11:11
 */
@Getter
@Setter
@ToString
public class WorkflowNodeSortDTO extends BaseDTO {


    private static final long serialVersionUID = -8572924260489124983L;


    @NotEmpty(message = "{dto.msg.workflowNodeId.NotNull}")
    private List<Long> workflowNodeId;

    @NotNull(message = "{dto.msg.workflowId.NotNull}")
    private Long workflowId;
}
